package org.chen.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@ConfigurationProperties(prefix = "heygen.api")
@Component
public class HeyGenProperties {
    /**
     * API基础URL
     */
    private String url;
    private String userUrl;

    /**
     * v1Url URL
     */
    private String v1Url;
    private String v1UserUrl;

    /**
     * API基础URL
     */
    private String deleteUrl;

    /**
     * API回调地址
     */
    private String callbackUrl;

    /**
     * 数据同步间隔（分钟）
     */
    private Integer syncInterval = 60;
}